export const codes = {
  // select: 'ETCCHANGESELECT',
  // showDetail: 'ETCCHANGESELECT_VIEW',
  // add: 'ETCCHANGESELECT_ADD',
  // edit: 'ETCCHANGESELECT_UPD',
  // upload: 'ETCCHANGESELECT_IMPORT',
  page: 'MSGCONTENTPAGE',
};
//事件类型
export const EventType = [
  { code: 'INTERFACE-EXCEPTION', value: '接口异常' },
  { code: 'BUSINESS-REMINDERS', value: '业务提醒' },
];
//状态
export const STATUS = [
  { code: 'PUSH-SUCCESS', value: '成功' },
  { code: 'PUSH-FAIL', value: '失败' },
  { code: 'PUSH-QUEUE', value: '队列中' },
];
export const statusMap = {
  'PUSH-FAIL': 'error',
  'PUSH-QUEUE': 'processing',
  'PUSH-SUCCESS': 'success',
};
//通知方式
export const NoticeMode = [
  { code: 'DING-ORDINARY', value: '普通' },
  { code: 'DING-ROBOT', value: '钉钉群机器人' },
  { code: 'EMAIL', value: '邮件' },
];
